﻿using System;
using System.Runtime.InteropServices;

namespace Vtron.LEDCorrective.Domain.LEDSender
{
    /// <summary>
    /// SCP协议执行结果
    /// </summary>
    /// <remarks>
    /// #define	SCP_SENDERID_LEN	40
    //  struct _scp_senderid_t
    //  {
    //      int8_t		id[SCP_SENDERID_LEN];
    //  } PACKED;
    //  typedef struct _scp_senderid_t
    /// </remarks>
    [Serializable]
    [StructLayout(LayoutKind.Sequential, Pack = 1)]
    public struct SCP_SENDERID_T
    {
        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 40)]
        public byte[] id;
    }
}
